package com.itheima.factory;

import com.itheima.service.UserService;

public class UserFactory2 {
    //非静态工厂
    public UserService getInstance() {
        return new com.itheima.service.impl.UserServiceImpl();
    }
}
